package org.nokatag.code;

import java.util.ArrayList;
import java.util.List;

public class CurvesRippleFilterFactory extends RippleFilterFactory
{

    protected CurvesImageOp curves;

    public CurvesRippleFilterFactory()
    {
        curves = new CurvesImageOp();
    }

    public CurvesRippleFilterFactory(ColorFactory colorFactory)
    {
        curves = new CurvesImageOp();
        setColorFactory(colorFactory);
    }

    protected List getPreRippleFilters()
    {
        List list = new ArrayList();
        list.add(curves);
        return list;
    }

    public void setStrokeMin(float strokeMin)
    {
        curves.setStrokeMin(strokeMin);
    }

    public void setStrokeMax(float strokeMax)
    {
        curves.setStrokeMax(strokeMax);
    }

    public void setColorFactory(ColorFactory colorFactory)
    {
        curves.setColorFactory(colorFactory);
    }
}
